<template>
  <line x1="100" y1="50" x2="100" y2="100" stroke="black" stroke-width="2" />
  <line x1="50" y1="100" x2="100" y2="100" stroke="black" stroke-width="2" />
  <!-- {{ towers }} -->
</template>

<script setup lang="ts">
import useTower from '@/composables/useTower'
import { towerModel } from '@/types/model'

const props = defineProps<{
  towers?: towerModel[]
  sectionId: number
}>()

const { towers, all, points } = useTower()

const init = async () => {
  await all({ sectionId: props.sectionId })
  await points(1111)
}

init()
// useTower()
</script>
